package com.woniuxy.meal.exception.FoodVarietyException;

public enum FoodVarietyExceptionCode {


    FOOD_NOT_EXIST(9001,"添加失败，商品不存在"),
    FOOD_IS_DEL(9002,"菜品不存在");



    Integer code;
    String message;

    FoodVarietyExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
